ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  a{
    text-decoration: none;
    color: initial;
}
.w{
    width: 1200px;
    height: 1800px;
    margin: 0 auto;
}
.header{
    height: 40px;
    background-color: burlywood;
    margin: 0 10px;
    line-height: 40px;
    display:flex ;
   
}
.h-left{
    /* float: left; */
    width: 300px;
    background-color: beige;
}
.h-right{
    /* float: right; */
    width: 300px;
    background-color: beige;
   
}
.h-center{
    width: 500px;
    background-color:blueviolet;
    margin: 0 auto;
    float: left;
}
ul{
    display: flex;
    /* display: block; */
    justify-content: center;
}
ul li{
    float: left;
    margin-left: 4px;
}
/* li文本如何 */
.header:nth-child(){
    flex: 1;
}
.nav{
    margin: 0 10px;
    /* padding: 0 20px; */
    height: 60px;
    line-height: 60px;
    background-color: aliceblue;
    border-bottom: 2px solid red;
}
.nav .nav-1{
    float: left;
    width: 300px;
    height: 58px;
    color: white;
    background-color: brown;
    text-align: center;
}
.nav .nav-2{
    padding: 0 40px;
}
.nav .nav-2 ul li{
    margin-left: 40px !important;
}